# if 10 > 5:
#     print('yes')
#     print('ok')
#
# if 10 > 100:
#     print('这个语句不会执行')
#
# if 10 > 100:
#     print('这个语句不会执行')
# else:
#     print('这个语句会执行')

# if 0.0:
#     print('任何值为0的数字都是假')
#
# if ' ':
#     print('空格字符也是一个字符，为真')
#
# if [1, 2, 3]:
#     print('非空列表，为真')
#
# if ():
#     print('空元组，为假')
#
# if {'name': 'nb'}:
#     print('非空字典，为真')

# a = 10
# b = 20
# if a < b:
#     s = a
# else:
#     s = b
# print(s)

a = 10
b = 20
s = a if a < b else b
print(s)
